<?php
declare (strict_types = 1);

namespace app\common\model\mysql;

use think\Model;

/**
 * @mixin \think\Model
 */
class User2 extends Model
{
    //
    public function getStatusTextAttr($value,$data){
        $status=[
            0=>'待审核',
            1=>'正常',
            99=>'删除'
        ];
        return $status[$data['status']];
    }
}
